package com.goodving.guli.activity;

import android.animation.Animator;
import android.animation.ObjectAnimator;
import android.animation.ValueAnimator;
import android.annotation.SuppressLint;
import android.app.Dialog;
import android.app.DialogFragment;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.drawable.BitmapDrawable;
import android.os.Bundle;
import android.os.Handler;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.view.animation.AccelerateInterpolator;
import android.view.animation.DecelerateInterpolator;
import android.widget.FrameLayout;
import android.widget.LinearLayout;

import com.goodving.guli.R;
import com.goodving.guli.bt.C0668a;
import com.goodving.guli.bt.Utils;
import com.goodving.guli.bt.model.C3910h;
import com.goodving.guli.bt.model.Friend;
import com.goodving.guli.bt.model.PersonInfo;
import com.goodving.guli.bt.profile.scale.GuliLog;
import com.goodving.guli.bt.profile.scale.C3843c;
import com.goodving.guli.bt.profile.scale.XMBLEManager;
import com.goodving.guli.bt.utils.C0880d;
import com.goodving.guli.bt.weight.C0892e;
import com.goodving.guli.bt.weight.family.WeightFamilyMemberActivity;
import com.goodving.guli.model.DeviceSource;
import com.goodving.guli.model.Keeper;
import com.goodving.guli.view.C0804t;
import com.goodving.guli.view.C4220a;

import cn.com.smartdevices.bracelet.chart.util.C0801q;
import cn.com.smartdevices.bracelet.chart.util.ChartData;
import cn.com.smartdevices.bracelet.config.Config;

/**
 * Created by john on 2015/12/4.
 */
public class MainMenuFragment extends DialogFragment { // bI
    private static final String f9655a = "MainMenuFragment";
    private static final int f9656b = 250;
    private static final int f9657c = 5;
    private static final int f9658d = 1000;
    private View f9659e;
    private View menuContentView;
    private Bitmap f9661g;
    private Bitmap f9662h;
    private Animator f9663i;
    private Animator f9664j;
    private bS f9665k;
    private final Config f9666l;
    private boolean f9667m;
    private int f9668n;
    private boolean f9669o;
    private float f9670p;

    public MainMenuFragment() {
        this.f9666l = Config.m8876h();
        this.f9667m = false;
        this.f9668n = -1;
        this.f9669o = false;
        this.f9670p = 0.0f;
    }

    public interface bS {
        void m14498a();
    }

    private void m14481a(Dialog dialog) {
        dialog.getWindow().setLayout(-1, -2);
        dialog.getWindow().setGravity(48);
        dialog.setCanceledOnTouchOutside(true);
    }

    private void m14482a(View view) {
        this.f9659e = view.findViewById(R.id.bg_blur);
        this.menuContentView = view.findViewById(R.id.menu_content);
        if (C3246a.m22924b(getActivity())) {
            ff ffVar = new ff(getActivity());
            View childAt = ((ViewGroup) this.menuContentView).getChildAt(0);
            LinearLayout.LayoutParams layoutParams = (LinearLayout.LayoutParams) childAt.getLayoutParams();
            layoutParams.topMargin = ffVar.m14851a().m14876b() + layoutParams.topMargin;
            childAt.setLayoutParams(layoutParams);
        }
        View findViewById = view.findViewById(R.id.menu_running);
        m14483a(findViewById, R.id.menu_running_new_sign, "RUNNING");
        // TBD remove running
//        if (!this.f9666l.f4197g.ENABLE_RUNNING.booleanValue()) {
            findViewById.setVisibility(View.GONE);
            view.findViewById(R.id.v9).setVisibility(View.GONE);
//        }
        findViewById = view.findViewById(R.id.menu_service);
        m14483a(findViewById, R.id.menu_service_new_sign, "SERVICE");
        // TBD remove service
//        if (!this.f9666l.f4193c.f4246b.booleanValue()) {
            findViewById.setVisibility(View.GONE);
            view.findViewById(R.id.v5).setVisibility(View.GONE);
//        }
//        if (!this.f9666l.f4202l.f4259a.booleanValue()) {
//            view.findViewById(R.id.menu_weight).setVisibility(View.GONE);
//            view.findViewById(R.id.v6).setVisibility(View.GONE);
//        }
        findViewById = view.findViewById(R.id.menu_relation);
        m14483a(findViewById, R.id.menu_relation_new_sign, "RELATION");
        if (!this.f9666l.f4206p.ENABLE_RELATION.booleanValue()) {
            findViewById.setVisibility(View.GONE);
            view.findViewById(R.id.line).setVisibility(View.GONE);
        }
        if (this.f9666l.f4209s.f4230a.booleanValue()) {
            C3910h f = XMBLEManager.m25161f();
            if ((f != null && f.m25440a()) || Keeper.readPersonInfo().hasBinded1S()) {
                view.findViewById(R.id.menu_heart).setVisibility(View.VISIBLE);
                view.findViewById(R.id.v4).setVisibility(View.VISIBLE);
            }
        }
        findViewById = view.findViewById(R.id.menu_smart_alarms);
        // TBD remove alarm
//        if (C0892e.m9081a().m9083b() && !DeviceSource.hasBindBracelet()) {
            findViewById.setVisibility(View.GONE);
            view.findViewById(R.id.v2).setVisibility(View.GONE);
//        }
        if (C0892e.m9081a().m9083b() && DeviceSource.hasBindBracelet()) {
            view.findViewById(R.id.menu_sensorhub).setVisibility(View.VISIBLE);
            view.findViewById(R.id.menu_sensorhub_split).setVisibility(View.VISIBLE);
            return;
        }
        view.findViewById(R.id.menu_sensorhub).setVisibility(View.GONE);
        view.findViewById(R.id.menu_sensorhub_split).setVisibility(View.GONE);
    }

    public static void m14483a(View view, int i, String str) {
//        if (("LAB".equals(str) && C1351h.m11769a(Config.m8876h().f4195e)) || ("SERVICE".equals(str) && C1351h.m11769a(Config.m8876h().f4196f))) {
//            view.findViewById(i).setVisibility(View.VISIBLE);
//        } else if (C1351h.m11770a(str)) {
//            view.findViewById(i).setVisibility(View.VISIBLE);
//        } else {
//            view.findViewById(i).setVisibility(View.GONE);
//        }
    }

    @SuppressLint({"NewApi"})
    private Bitmap m14485c() {
        if (this.f9661g == null || this.f9661g.isRecycled()) {
            return null;
        }
        int width = this.menuContentView.getWidth();
        int height = this.menuContentView.getHeight();
        Matrix matrix = new Matrix();
        matrix.setScale(0.14285715f, 0.14285715f);
        Bitmap createBitmap = Bitmap.createBitmap(this.f9661g, 0, 0, width, height, matrix, true);
        this.f9661g.recycle();
        this.f9661g = null;
        Bitmap a = C0880d.m9051a(getActivity(), createBitmap, 25);
        if (a != createBitmap) {
            createBitmap.recycle();
        }
        this.f9659e.setLayoutParams(new FrameLayout.LayoutParams(-1, height));
        this.f9659e.setBackground(new BitmapDrawable(getResources(), a));
        return a;
    }

    private void m14487d() {
//        Parcelable e = m14489e();
//        if (e != null) {
//            Intent intent = new Intent();
//            intent.setClass(getActivity(), ShareActivity.class);
//            intent.putExtra("share_data", e);
//            startActivity(intent);
//        }
    }

//    private ShareData m14489e() {
//        int i;
//        String str = C3657a.f18328f;
//        Bundle arguments = getArguments();
//        if (arguments != null) {
//            i = arguments.getInt(ChartData.f4056k);
//            str = arguments.getString(ChartData.f4057l);
//        } else {
//            i = 0;
//        }
//        ShareData shareData = new ShareData();
//        shareData.type = C3636v.f18208C;
//        ScaleWeightInfo b = ScaleWeightInfo.m25479b(str);
//        if (b == null) {
//            GuliLog.tracePrintInfo(f9655a, "mWeightAdvData is null");
//            return null;
//        } else if (i == 0) {
//            shareData.fuid = 0;
//            shareData.weightTips = C3657a.f18328f;
//            shareData.weightFigure = "- -";
//            shareData.weightBMI = "- -";
//            shareData.weightValue = WeightUtil.m15715c(b.m25499j()) + C3657a.f18328f;
//            shareData.weightTitle = getString(R.string.current_weight) + "(" + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h()) + ")";
//            i = Birthday.fromStr(Keeper.readPersonInfo().getBirthday()).getAgeInMonths();
//            shareData.babyMonthsStr = Utils.m8057d(getActivity().getApplicationContext(), i) + getString(R.string.weight_ref) + "(" + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h()) + ")";
//            str = C3657a.f18328f;
//            r1 = str;
//            for (String str2 : Utils.m8025a(i, Keeper.readPersonInfo().gender, b.m25497h())) {
//                r1 = r1 + str2 + ",";
//            }
//            if (r1.isEmpty()) {
//                shareData.babyRefWeights = C3657a.f18328f;
//            } else {
//                shareData.babyRefWeights = r1.substring(0, r1.length() - 1);
//            }
//            return shareData;
//        } else {
//            UserInfo a = UserInfoManager.getInstance().getInfoByUid(i);
//            if (a == null) {
//                GuliLog.tracePrintInfo(f9655a, "nowUserInfo is null or uid is 0");
//                return null;
//            }
//            shareData.fuid = a.uid;
//            shareData.weightTitle = C3657a.f18328f;
//            shareData.weightValue = C3657a.f18328f;
//            shareData.weightTips = C3657a.f18328f;
//            shareData.weightFigure = "- -";
//            shareData.weightBMI = "- -";
//            shareData.weightValue = WeightUtil.m15715c(b.m25499j()) + C3657a.f18328f;
//            shareData.weightTitle = getString(R.string.current_weight) + "(" + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h()) + ")";
//            i = Birthday.fromStr(a.birthday).getAgeInMonths();
//            shareData.babyMonthsStr = Utils.m8057d(getActivity().getApplicationContext(), i) + getString(R.string.weight_ref) + "(" + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h()) + ")";
//            str = C3657a.f18328f;
//            String[] a2 = Utils.m8025a(i, a.gender, b.m25497h());
//            r1 = str;
//            for (String i2 : a2) {
//                r1 = r1 + Utils.m8077i(i2) + ",";
//            }
//            if (r1.isEmpty()) {
//                shareData.babyRefWeights = C3657a.f18328f;
//            } else {
//                shareData.babyRefWeights = r1.substring(0, r1.length() - 1);
//            }
//            i = Birthday.fromStr(a.birthday).getAge();
//            this.f9667m = a.targetWeight > 0.0f;
//            this.f9670p = WeightUtil.m15693a(a.height, Birthday.fromStr(a.birthday).getAge(), WeightUtil.m15689a(b.m25499j(), b.m25497h()));
//            if (i > 6 && a.height >= 100) {
//                shareData.weightBMI = WeightUtil.m15709b(this.f9670p);
//                shareData.weightFigure = WeightUtil.m15697a(getActivity().getApplicationContext(), this.f9670p, Birthday.fromStr(a.birthday).getAge(), a.gender);
//            }
//            float c;
//            if (this.f9667m) {
//                c = WeightUtil.m15716c(((float) ((int) WeightUtil.m15706b(a.targetWeight, b.m25497h()))) - b.m25499j(), 1);
//                if (c > 0.0f) {
//                    shareData.weightTips = getString(R.string.lighter_than_goal, new Object[]{Math.abs(c) + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h())});
//                } else if (c < 0.0f) {
//                    shareData.weightTips = getString(R.string.heavier_than_goal, new Object[]{Math.abs(c) + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h())});
//                } else {
//                    shareData.weightTips = getString(R.string.weight_reach_goal);
//                }
//            } else {
//                WeightInfo a3 = ah.getInstance().m15744a(a.uid, b.m25494e());
//                if (a3 != null) {
//                    c = WeightUtil.m15716c(b.m25499j() - WeightUtil.m15706b(a3.weight, b.m25497h()), 1);
//                    if (c > 0.0f) {
//                        shareData.weightTips = getString(R.string.add_than_last_time, new Object[]{c + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h())});
//                    } else if (c < 0.0f) {
//                        c = Math.abs(c);
//                        shareData.weightTips = getString(R.string.less_than_last_time, new Object[]{c + WeightUtil.m15698a(getActivity().getApplicationContext(), b.m25497h())});
//                    }
//                }
//            }
//            return shareData;
//        }
//    }

    public void m14490a() {
        m14491a(250);
    }

    class bK implements ValueAnimator.AnimatorUpdateListener {
        final /* synthetic */ MainMenuFragment f9672a;

        bK(MainMenuFragment bIVar) {
            this.f9672a = bIVar;
        }

        public void onAnimationUpdate(ValueAnimator valueAnimator) {
            ((View) this.f9672a.f9659e.getParent()).setLayoutParams(new FrameLayout.LayoutParams(-1, ((Integer) valueAnimator.getAnimatedValue()).intValue()));
        }
    }

    public void m14491a(long j) {
        if (this.f9663i == null || !this.f9663i.isRunning()) {
            int height = this.menuContentView.getHeight();
            ValueAnimator ofInt = ValueAnimator.ofInt(new int[]{0, height});
            ofInt.addUpdateListener(new bK(this));
            C0801q.m8765a(ofInt);
            ViewGroup viewGroup = (ViewGroup) this.menuContentView;
            int childCount = viewGroup.getChildCount();
            int i = 0;
            for (int i2 = 0; i2 <= childCount - 1; i2++) {
                View childAt = viewGroup.getChildAt((childCount - 1) - i2);
                if (childAt.isShown()) {
                    childAt.setTranslationY((float) (0));
                    Animator ofFloat = ObjectAnimator.ofFloat(childAt, "translationY", new float[]{(float) (-height), 0.0f});
                    ofFloat.setStartDelay((long) (f9657c * i));
                    C0801q.m8769b(ofFloat);
                    i++;
                }
            }
            Animator ofInt1 = C0801q.m8764a();
            ofInt1.setInterpolator(new DecelerateInterpolator());
            ofInt1.setDuration(j);
            ofInt1.start();
            this.f9663i = ofInt1;
        }
    }

    class bL implements ValueAnimator.AnimatorUpdateListener {
        final /* synthetic */ MainMenuFragment f9673a;

        bL(MainMenuFragment bIVar) {
            this.f9673a = bIVar;
        }

        public void onAnimationUpdate(ValueAnimator valueAnimator) {
            ((View) this.f9673a.f9659e.getParent()).setLayoutParams(new FrameLayout.LayoutParams(-1, ((Integer) valueAnimator.getAnimatedValue()).intValue()));
        }
    }

    public void m14492a(long j, Animator.AnimatorListener animatorListener) {
        if (this.f9664j == null || !this.f9664j.isRunning()) {
            int height = this.menuContentView.getHeight();
            ValueAnimator ofInt = ValueAnimator.ofInt(new int[]{height, 0});
            ofInt.addUpdateListener(new bL(this));
            ViewGroup viewGroup = (ViewGroup) this.menuContentView;
            int childCount = viewGroup.getChildCount();
            int i = 0;
            for (int i2 = 0; i2 <= childCount - 1; i2++) {
                View childAt = viewGroup.getChildAt(i2);
                if (childAt.isShown()) {
                    childAt.setTranslationY(0.0f);
                    Animator ofFloat = ObjectAnimator.ofFloat(childAt, "translationY", new float[]{0.0f, (float) (-height)});
                    ofFloat.setStartDelay((long) (f9657c * i));
                    if (i2 == 0) {
                        C0801q.m8765a(ofFloat);
                    } else {
                        C0801q.m8769b(ofFloat);
                    }
                    i++;
                }
            }
            ofInt.setStartDelay((long) (f9657c * i));
            C0801q.m8769b(ofInt);
            Animator a = C0801q.m8764a();
            a.setInterpolator(new AccelerateInterpolator());
            a.setDuration(j);
            a.addListener(animatorListener);
            a.start();
            this.f9664j = a;
        }
    }

    public void m14493a(Bitmap bitmap) {
        this.f9661g = bitmap;
    }

    public void m14494a(bS bSVar) {
        this.f9665k = bSVar;
    }

    class bM implements Animator.AnimatorListener {
        final /* synthetic */ MainMenuFragment f9674a;

        bM(MainMenuFragment bIVar) {
            this.f9674a = bIVar;
        }

        public void onAnimationCancel(Animator animator) {
        }

        public void onAnimationEnd(Animator animator) {
            f9674a.dismiss();
        }

        public void onAnimationRepeat(Animator animator) {
        }

        public void onAnimationStart(Animator animator) {
        }
    }

    public void m14495b() {
        m14492a(250, new bM(this));
    }

    public void dismiss() {
        if (getActivity() != null) {
            super.dismiss();
        }
    }

    public void dismissAllowingStateLoss() {
        if (getActivity() != null) {
            super.dismissAllowingStateLoss();
        }
    }

    class bJ implements Runnable {
        final /* synthetic */ MainMenuFragment f9671a;

        bJ(MainMenuFragment bIVar) {
            this.f9671a = bIVar;
        }

        public void run() {
            this.f9671a.f9662h = this.f9671a.m14485c();
            this.f9671a.m14490a();
        }
    }

    public void onActivityCreated(Bundle bundle) {
        super.onActivityCreated(bundle);
        this.menuContentView.post(new bJ(this));
    }

    public void onCancel(DialogInterface dialogInterface) {
        m14495b();
    }

    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        int i = R.style.MenuPanel;
        if (C3246a.m22924b(getActivity())) {
            i = R.style.MenuPanelTint;
        }
        setStyle(0, i);
    }

    class bR extends Dialog {
        final /* synthetic */ MainMenuFragment f9682a;

        public bR(MainMenuFragment bIVar, Context context, int i) {
            super(context, i);
            this.f9682a = bIVar;

        }

        public void cancel() {
            this.f9682a.onCancel(this);
        }
    }

    public Dialog onCreateDialog(Bundle bundle) {
        Dialog bRVar = new bR(this, getActivity(), getTheme());
        m14481a(bRVar);
        return bRVar;
    }

    class bN extends ContextThemeWrapper {
        private static final int f9675d = 2000;
        long f9676a;
        final /* synthetic */ MainMenuFragment f9677b;
        private Handler f9678c;

        public bN(MainMenuFragment bIVar) {
            this.f9677b = bIVar;
            this.f9676a = 0;
            this.f9678c = new Handler();
        }

        public bN(MainMenuFragment bIVar, Context context, int i) {
            super(context, i);
            this.f9677b = bIVar;

            this.f9676a = 0;
            this.f9678c = new Handler();
        }

        class bQ implements Runnable {
            final /* synthetic */ bN f9681a;

            bQ(bN bNVar) {
                this.f9681a = bNVar;
            }

            public void run() {
                this.f9681a.f9677b.dismiss();
            }
        }

        private void m14496a(Context context, Intent intent, String str) {
            context.startActivity(intent);
            C0668a.m8128a(this.f9677b.getActivity(), C0668a.dg, str);
            this.f9678c.postDelayed(new bQ(this), 1000);
        }

        class bP implements Runnable {
            final /* synthetic */ bN f9680a;

            bP(bN bNVar) {
                this.f9680a = bNVar;
            }

            public void run() {
                this.f9680a.f9677b.dismiss();
            }
        }

        private void m14497a(Context context, Class<?> cls, String str) {
            Intent intent = new Intent();
            intent.setClass(context, cls);
            context.startActivity(intent);
            C0668a.m8128a(this.f9677b.getActivity(), C0668a.dg, str);
            this.f9678c.postDelayed(new bP(this), 1000);
        }

        public void onDismissClick(View view) {
            this.f9677b.onCancel(this.f9677b.getDialog());
        }

        public void onItemAboutClick(View view) {
            m14497a(this.f9677b.getActivity(), SettingAboutActivity.class, C0668a.dl);
        }

        public void onItemAlarmClick(View view) {
//            m14497a(this.f9677b.getActivity(), AlarmActivity.class, C0668a.di);
        }

        public void onItemDevicesClick(View view) {
            Intent intent = new Intent(this.f9677b.getActivity(), GuliHardwareSettingActivity.class);
            if (ChartData.m8731a().m8817u() == PersonInfo.INCOMING_CALL_DISABLE_BIT) {
                intent.putExtra(Utils.f3493a, Utils.f3495c);
            }
            m14496a(this.f9677b.getActivity(), intent, C0668a.dh);
        }

        public void onItemFriendClick(View view) {
//            C1351h.m11772b("RELATION");
//            m14497a(this.f9677b.getActivity(), FriendActivity.class, C0668a.dq);
        }

        public void onItemHeartRateClick(View view) {
//            m14497a(this.f9677b.getActivity(), HeartRateMainActivity.class, C0668a.dr);
        }

        public void onItemPersonalClick(View view) {
            m14497a(this.f9677b.getActivity(), MyPageActivity.class, C0668a.dj);
        }

        public void onItemRunningClick(View view) {
//            C1351h.m11772b("RUNNING");
//            Intent intent = new Intent("com.goodving.hm.health.action.RUNNING");
//            intent.setPackage(this.f9677b.getActivity().getPackageName());
//            m14496a(this.f9677b.getActivity(), intent, C0668a.dn);
        }

        public void onItemSensorhubClick(View view) {
            Intent intent = new Intent(this.f9677b.getActivity(), DynamicDetailActivity.class);
            intent.putExtra(ChartData.KEY_SOURCE, C3843c.SENSORHUB.m25103b());
            intent.putExtra(ChartData.KEY_MODE, 1);
            m14496a(this.f9677b.getActivity(), intent, C0668a.dm);
        }

        public void onItemServiceClick(View view) {
//            Keeper.keepFeatureVisited(C0819f.f4224f);
//            Config.m8876h().f4205o.getClass();
//            String str = C3657a.f18328f;
//            if (!C0819f.f4224f.equals(str)) {
//                Keeper.keepFeatureVisited(str);
//            }
//            m14497a(this.f9677b.getActivity(), PartnerListActivity.class, C0668a.dp);
        }

        class bO implements Runnable {
            final /* synthetic */ bN f9679a;

            bO(bN bNVar) {
                this.f9679a = bNVar;
            }

            public void run() {
                this.f9679a.f9677b.dismiss();
            }
        }

        public void onItemShareClick(View view) {
            GuliLog.tracePrintInfo("TTT", "interval " + (System.currentTimeMillis() - this.f9676a));
            if (System.currentTimeMillis() - this.f9676a >= 2000) {
                this.f9676a = System.currentTimeMillis();
                int i = 0;
                Bundle arguments = this.f9677b.getArguments();
                if (arguments != null) {
                    i = arguments.getInt(ChartData.KEY_MODE);
                }
                if (i == PersonInfo.INCOMING_CALL_DISABLE_BIT) {
                    this.f9677b.m14487d();
                } else {
                    ScaleActivity scaleActivity = (ScaleActivity) this.f9677b.getActivity();
                    if (scaleActivity != null) {
                        scaleActivity.m13958j();
                    } else {
                        return;
                    }
                }
                C0668a.m8128a(this.f9677b.getActivity(), C0668a.dg, C0668a.dk);
                this.f9678c.postDelayed(new bO(this), 1000);
            }
        }

        public void onItemWeightClick(View view) {
            m14497a(this.f9677b.getActivity(), WeightFamilyMemberActivity.class, Friend.f7788d);
        }
    }

    public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
        bN bNVar = new bN(this, getActivity(), getTheme());
        if (C0804t.m8835a()) {
            C0804t.m8829a(bNVar, (int) C4220a.ax);
        }
        View inflate = layoutInflater.cloneInContext(bNVar).inflate(R.layout.view_main_menu, viewGroup, false);
        m14482a(inflate);
        return inflate;
    }

    public void onDestroy() {
        super.onDestroy();
        if (this.f9662h != null) {
            this.f9662h.recycle();
            this.f9662h = null;
        }
    }

    public void onDismiss(DialogInterface dialogInterface) {
        super.onDismiss(dialogInterface);
        if (this.f9665k != null) {
            this.f9665k.m14498a();
        }
    }
}
